package com.ruoyi.project.system.wxUser.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 微信用户表 wx_user
 * 
 * @author zhangshilin
 * @date 2019-08-13
 */
public class WxUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 微信用户唯一标识 */
	private String openid;
	/** 对应的userid */
	private Integer userId;
	/**  */
	private String tel;
	/** 是否订阅 */
	private String subscribe;
	/** 用户所在城市 */
	private String city;
	/** 用户所在省份 */
	private String province;
	/** 用户关注的渠道来源 */
	private String subscribeScene;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setOpenid(String openid) 
	{
		this.openid = openid;
	}

	public String getOpenid() 
	{
		return openid;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setTel(String tel) 
	{
		this.tel = tel;
	}

	public String getTel() 
	{
		return tel;
	}
	public void setSubscribe(String subscribe) 
	{
		this.subscribe = subscribe;
	}

	public String getSubscribe() 
	{
		return subscribe;
	}
	public void setCity(String city) 
	{
		this.city = city;
	}

	public String getCity() 
	{
		return city;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}

	public String getProvince() 
	{
		return province;
	}
	public void setSubscribeScene(String subscribeScene) 
	{
		this.subscribeScene = subscribeScene;
	}

	public String getSubscribeScene() 
	{
		return subscribeScene;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("userId", getUserId())
            .append("tel", getTel())
            .append("subscribe", getSubscribe())
            .append("city", getCity())
            .append("province", getProvince())
            .append("subscribeScene", getSubscribeScene())
            .toString();
    }
}
